typedstream StreamTable HashTable Object [20c] typedstream [948c] typedstream HashTable Object Controller HeaderClass %%%%i@@ genericobject_nib SCB89DebtString infoPanel updateIntervalPrefSlider AJ92DebtString AJ92ShareString SCB89ShareString autoUpdatePref updateIntervalPrefField prefPanel debtWindow appDidInit: showInfoPanel: setUpdateInterval: computeSCB89Debt: computeAJ92Debt: appWillTerminate: setWindowLocation: setAutoUpdate: FirstResponder firstnib checkSpelling: alignSelCenter: unscript: pasteFont: runPageLayout: superscript: copyRuler: copyFont: selectAll: pasteRuler: toggleRuler: showGuessPanel: alignSelLeft: paste: performClose: arrangeInFront: subscript: copy: alignSelRight: delete: orderFrontColorPanel: underline: performMiniaturize: [5346c] typedstream HashTable Object NibData @@@@s Storage {*@@} [10{*@@}] File's Owner CustomObject Controller WindowTemplate iiii***@s@ Panel Responder Helvetica TextField Control TextFieldCell ActionCell USDebtWatch Helvetica-BoldOblique by Erik Sowa Button ButtonCell More Info NXImage FreeWare Version 0.3 (92.07.24) email: sowa@netcom.com Field1 Field2 Button1 Field Field4 Window ScrollView ClipView ciifffcfffs [3607c]{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fswiss Helvetica;} \margl40 \margr40 {\colortbl\red0\green0\blue0;} \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i\ul0\fs48 USDebtWatch\ \b0\i0\fs24 Freeware Version 0.3 (92.07.24)\ \b\i\fs32 \ Algorithm \b0\i0\fs24 \ \fs28 USDebtWatch displays an estimate of the national debt of the United States of America. The estimate is updated at a regular interval specified by the user. The program was inspired by Jamie Zawinski's xdebt. I have used a more recent debt estimate \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 based on numbers from the 5 July 1992 Albuquerque Journal \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 ( AJ '92 ). It assumes a starting figure of $ \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 3 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 , \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 965 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 , \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 170 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 , \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 506 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 , \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 502.395 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 as of June 30, 1992, with a linear rate of increase of $ \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 14132.887 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 per second. \fc0 Your share is calculated using t \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 he \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 estimated \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 US Population, and its rate of increase, as of July 1, 1990 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 , \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 based on numbers from the CIA's World Factbook 1990 \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 . If you know of more recent and/or accurate algorithms, please send me email.\ \b\i\fs32 Icon \b0\i0\fs24 \ \fs28 The icon is intended to depict Lady Liberty being crushed by the burden of a heavy debt portfolio. I am not an artist; otherwise, I would have done a better job.\ \b\i\fs32 NeXTSTEP Notes \b0\i0\fs48 \ \fs28 Interface by Erik Sowa (sowa@netcom.com). USDebtWatch is an old FORTRAN hacker's first publicly released NeXTSTEP program! Preferences for updating are stored in the defaults database.\ \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 Version 0.2 Garance Alistair Drosehn (gad@eclipse.its.rpi.edu) added a preference option to save the location of the windows to the defaults database, so each user can have the windows appear right where they'd like them to.\ Version 0.3 Erik Sowa (sowa@netcom.com). Replaced 1989 Survey of Current Business debt estimate with 1992 Albuquerque Journal estimate. The old estimate is still in the source code if you want to play with it. Added population estimate for Your Share calculation. NXCursor NXibeam Scroller _doScroller: @@@ffs ScrollingText {i*@@@} [2{i*@@@}] infoPanel makeKeyAndOrderFront: